<h1>Add an account</h1>
<?php
echo $this->Form->create('User');
echo $this->Form->input('name');
echo $this->Form->input('surname');
echo $this->Form->input('email');
echo $this->Form->input('password');
if($isAdmin) {
	echo $this->Form->input('rights', array(
			'options' => array('admin' => 'Admin', 'student' => 'Student')
		)
	);
}
echo $this->Form->end('Register');//Save new user
?>
